import { post } from '@/utils/request'

// 分页查询铺位信息
export const getBunkPageList = p => post(`/service-system/b/store/v1/pageList`, p)

// 查看铺位信息
export const getBunk = p => post(`/service-system/b/store/v1/view/${p}`, p)

// 铺位信息添加
export const addBunk = p => post(`/service-system/b/store/v1/add`, p)

// 铺位信息修改
export const modifyBunk = p => post(`/service-system/b/store/v1/modify`, p)

// 删除铺位
export const delBunk = p => post(`/service-system/b/store/v1/del/${p}`, p)

// 查询铺位树形列表
export const getBunkTreeList = p => post(`/service-system/b/store/v1/storeTreeList`, p)
